const svgCaptcha = require('svg-captcha');
module.exports.getCaptcha = async function (req, res, next) {
  const captcha = svgCaptcha.create({
    size: 4,
    ignoreChars: 'iIl1Oo0',
    color: true,
    noise: 6
  })
  return captcha
}